home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 July & August
/
PCWorld_2006-07-08_cd.bin
/
v cisle
/
memtest86
/
memt32.exe
/
install.bat
next >
Wrap
DOS Batch File
|
2004-11-12
|
1KB
|
42 lines
@echo off
REM Memtest86 DOS/Windows install script
echo ##############################################################
echo # #
echo # Memtest-86 Installation #
echo # This installation creates a bootable floppy disk. #
echo # #
echo # Memtest is a standalone memory test and must be booted #
echo # from a floppy disk. Memtest cannot be executed under #
echo # DOS or Windows. #
echo # NOTE: Windows will not be able to read the floppy after #
echo # the test is installed. This is normal. #
echo # #
echo ##############################################################
echo .
REM Are both files here?
if not exist .\rawrite.exe goto NO_PGM
if not exist .\memtest.bin goto NO_BIN
rawrite -f memtest.bin
if ERRORLEVEL == 1 goto ERROR
echo Done!
echo To run Memtest86, leave the floppy in the drive and reboot.
goto EXIT
:NO_PGM
echo Error: Can't find "rawrite.exe". This program must be in the
echo same directory as the install script.
goto ERROR
:NO_BIN
echo Error: Can't find "memtest.bin". This file must be in the
echo same directory as the install script.
goto ERROR
:ERROR
echo Installation failed!
:EXIT